<template>
  <view v-if="div_hn_btm" :class="'mask1 ' + mask_class" @tap="div_hn_btm_closeFn">
    <view
        :class="'div_bottom div_bottom_yuan ' + div_hn_btm_box_class"
        :style="'--div_box_height:' + (HN.homekefuewm == 1 ? 500 : 740) + 'rpx;--color:' + color + ';--rgbcolor:' + rgbcolor"
        @tap.stop.prevent="emptyFn"
    >
      <view class="closert ico" @tap.stop.prevent="div_hn_btm_closeFn"></view>
      <view class="div_hn_btm">
        <block v-if="!WXS.empty(HN.hn_id) && HN.homekefuewm == 0">
          <view class="dl">
            <view class="dt">
              <view class="senduid">
                <image :src="HN.cook_photo_m_url" mode="aspectFill"></image>
                <text class="font">
                  我
                  <text class="span">ID：{{ HN.cook_uid }}</text>
                </text>
              </view>
              <view class="admid">
                <view class="em hnpic">
                  <image :src="HN.hn_path_s_url" mode="aspectFill"></image>
                  <text class="b">经纪人</text>
                </view>
                <text class="font">{{ HN.hn_truename }}</text>
              </view>
              <view class="uid">
                <image :src="HN.photo_m_url" mode="aspectFill"></image>
                <text class="font">
                  <text class="span">ID：{{ HN.uid }}</text>
                </text>
              </view>
            </view>
            <view class="dd">
              <image :showMenuByLongpress="true" :src="HN.hn_ewm_url" mode="aspectFill"></image>
              <view class="C999 h6">长按二维码加经纪人微信</view>
              <navigator hoverClass="none" url="/myPages/hongniang/hongniang?currentTab=1">
                我的牵线记录({{ HN.cook_qxnum_ed }})
              </navigator>
            </view>
          </view>
          <view :style="HN.cook_qxnum_ed_herme > 0 ? 'background:#f60' : ''" class="btn5 ico" @tap="div_hn_btm_qxFn">
            {{ HN.qxbtn_str }}
          </view>
        </block>
        <view v-if="WXS.empty(HN.hn_id) || HN.homekefuewm == 1" class="homekefuewm">
          <image :showMenuByLongpress="true" :src="HN.kf_ewm_url" mode="aspectFill"></image>
          <view class="font">长按二维码加客服微信</view>
          <view class="em" @tap="telFn">
            <text class="i ico"></text>
            <view class="a">{{ HN.kf_tel }} (点击拔打)</view>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>

<style>
@import 'div_hn_btm.css';
</style>
